﻿using System;
using System.Collections.Generic;
using System.Text;

public class DamageVo
{
    public int targetPos;

    /**
     *	伤害
     */
    public int damageHp;

    
    //攻击类型 //1,普通攻击;2,暴击;3,招架4,格挡;5,闪避//
    public int result;

    public int state;

    public int hp;

    public int maxhp;

    public int mor;

    public string buffer;

    public bool counterattack;

    public DamageVo(string targetPos,string damageHp,string result,string state,string hp,string maxhp,string mor,string buffer)
    {
        this.targetPos = int.Parse(targetPos);
		this.damageHp = int.Parse(damageHp);
		this.result = int.Parse(result);
		this.state = int.Parse(state);
		this.hp = int.Parse(hp);
		this.maxhp = int.Parse(maxhp);
		this.mor = int.Parse(mor);
		this.buffer = buffer;
    }
}